//package com.bodu.task;
//
//import lombok.extern.slf4j.Slf4j;
//import org.quartz.JobExecutionContext;
//import org.quartz.JobExecutionException;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.scheduling.quartz.QuartzJobBean;
//import org.springframework.stereotype.Component;
//
///**
// * 将crm中的用户同步到系统
// *
// * @author Administrator
// */
//@Component
//@Slf4j
//public class SyncCrmCustomerToMarketUserJobTask extends QuartzJobBean {
//
//    @Autowired
//    private MarketUserService marketUserService;
//
//    @Override
//    protected void executeInternal(JobExecutionContext jobExecutionContext) throws JobExecutionException {
//        synchronized (SyncCrmCustomerToMarketUserJobTask.class) {
//            task();
//        }
//    }
//    private void task(){
//        marketUserService.syncMarketUsers();
//    }
//}
